package com.yingside.collection.generic;

import java.util.ArrayList;
import java.util.List;

public class Manager<T> {
    List<T> list = new ArrayList<>();

    public void add(T t){
        list.add(t);
    }

    public void show(){
        for (T t:list) {
            System.out.println("t = " + t);
        }
    }
}
